package com.milo.springboot.eventListener;

import org.springframework.context.ApplicationListener;

//@Component
public class LoginListener implements ApplicationListener<LoginEvent> {
    @Override
    public void onApplicationEvent(LoginEvent event) {
        System.out.println("登录监听：LoginListener:"+event.getClass().getName());
    }
}
